#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void splitfloat(float x, int* inpart, float* fracpart)
{

		*inpart =(int) x;

		*fracpart = x-*inpart;
}
int main()
{
	float x, fracpart;
	int inpart;

	scanf("%f", &x);
	splitfloat(x, &inpart, &fracpart);
	printf("The inpart is %d\nThe fracpart is %f\n", inpart, fracpart);
	return 0;
}